package data.join.com.http;

import java.util.ArrayList;

import data.join.com.database.bean.ImageDBPref;

/**
 * Created by Administrator on 2016/7/1.
 */
public class ImageDelete {

    public static class ImageId{
        public int imageId;
    }
    public String deviceImei;
    public ArrayList<ImageId> imageList;

    public boolean start(){
        boolean ret = false;
        if(imageList!= null)
            for(ImageId image:imageList){
                ret = ImageDBPref.getInstance().deleteImageById((long)image.imageId);
                if(!ret)break;
            }
        return ret;
    }
}
